package pl.myapp.webtest.interceptor;

import pl.myapp.webtest.interceptor.annotation.CakeProposition;

import javax.enterprise.context.RequestScoped;
import javax.faces.event.ActionEvent;
import javax.inject.Named;

/**
 * Created by IntelliJ IDEA.
 * User: kaafaar
 * Date: 14.05.11
 * Time: 23:37
 * To change this template use File | Settings | File Templates.
 */
@Named
@RequestScoped
public class OrderCoffee {

    @CakeProposition
    public void callMe(ActionEvent event) {
        System.out.println("OrderCoffee - add Cake ");
    }

    public void notCallMe() {
        System.out.println("OrderCoffee - no Cake");
    }
}
